package com.yeyaomai.dksns.flowis.service.impl;

import java.util.Date;
import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yeyaomai.dksns.flowis.dao.UserReturnRateDao;
import com.yeyaomai.dksns.flowis.domain.UserReturnRate;
import com.yeyaomai.dksns.flowis.service.UserReturnRateService;
@Service
public class UserReturnRateServiceImpl implements UserReturnRateService {

	@Resource
	private UserReturnRateDao userReturnRateDao;

	@Override
	public void add(UserReturnRate userReturnRate) {
		// TODO Auto-generated method stub
		userReturnRateDao.add(userReturnRate);
	}

	@Override
	public UserReturnRate getById(long id) {
		// TODO Auto-generated method stub
		return userReturnRateDao.getById(id);
	}

	@Override
	public List<UserReturnRate> getByDate(String start, String end) {
		// TODO Auto-generated method stub
		return userReturnRateDao.getByDate(start, end);
	}

}
